//Book class
#ifndef BOOK_H
#define BOOK_H

#include <string>
#include <ostream>

class Person;

class Book{
	friend std::ostream& operator<<(std::ostream& os, const Book& book);
public:
	Book(std::string& name, Person* author);
	Book(const Book& b);
	~Book();
	Book& operator=(const Book& b);
	const std::string& getName() const;
	const Person* getAuthor() const;
private:
	std::string name;
	Person* author;
};


#endif